// RebootDlg.h : header file
//

#if !defined(AFX_REBOOTDLG_H__94527078_2159_420C_83A7_63F825298F63__INCLUDED_)
#define AFX_REBOOTDLG_H__94527078_2159_420C_83A7_63F825298F63__INCLUDED_

#include <stdexcept>

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class MyException : public std::runtime_error {
public:
	MyException() : std::runtime_error("MyException") { }
	MyException(std::string str) : std::runtime_error(str) { m_msg = str; }
	std::string GetMessage() { return m_msg; }
private:
	std::string m_msg;
};

/////////////////////////////////////////////////////////////////////////////
// CRebootDlg dialog

class CRebootDlg : public CDialog
{
// Construction
public:
	CRebootDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CRebootDlg)
	enum { IDD = IDD_REBOOT_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRebootDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRebootDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REBOOTDLG_H__94527078_2159_420C_83A7_63F825298F63__INCLUDED_)
